import tensorflow as tf
from  sklearn import datasets
from simple.linear_regression import LinearRegression
from simple.mnist_demo import MnistDemo

def data_x():
    iris = datasets.load_iris()
    # print(len(iris.data))

def demo_x():
    identity_matrix = tf.diag([1.0,1.0,1.0])
    sess = tf.Session()
    print(sess.run(identity_matrix))

def demo_linear_regression():
    lr = LinearRegression()
    lr.start()
    # lr.model_from_save()
    # lr.print_model_linearmodel()

def demo_mnist():
    md = MnistDemo()
    # md.print_images()
    # md.a_train()
    md.a_out()

if __name__ == '__main__':
    # demo_x()
    # data_x()
    # demo_linear_regression()
    demo_mnist()